<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="com.msmall.base.util.ConstantDB" language="java"%>

<%@ page import="com.msmall.community.space.util.SpaceConstants" language="java"%>
<c:set var="UNVISIBLE" value="<%=ConstantDB.UNVISIBLE%>"></c:set>
<c:set var="VISIBLE" value="<%=ConstantDB.VISIBLE%>"></c:set>
<c:set var="SPACE_WIDGET_PART_PROFILE" value="<%=SpaceConstants.SPACE_WIDGET_PART_PROFILE%>"></c:set>

<div class="spalistw730">
	<div class="spaw730nav martop5" style="height:180px;">
		<div style="float:left;width:160px;height:160px;margin:10px;">
			<img id="img_user_avatar" style="width:150px;height:150px;" alt="我的头像" src="${ctx}/${userInfo.avatar}">
		</div>
		<div style="width:600px;height:160px;margin:10px;">
			<c:out value="${userInfo.nickname}"/>
			<ms:fieldValue type="gender" value="${userInfo.gender}"></ms:fieldValue>
			<br>
			<br>
			<br>
			<br>
			访过数
			<span class="sf00"><c:out value="${userProfile.visitAmount}"/></span>
			| 积分
			<span class="sf00"><c:out value="${userInfo.score.score}"/></span>
			| 好友数
			<span class="sf00"><c:out value="${userProfile.rosterAmount}"/></span>
			| 日志数
			<span class="sf00"><c:out value="${userProfile.diaryAmount}"/></span>
			| 相册数
			<span class="sf00"><c:out value="${userProfile.albumAmount}"/></span>
			| 主题数
			<span class="sf00"><c:out value="${userProfile.topicAmount}"/></span>
		</div>
	</div>
	<div class="spaw730nav martop5" style="height:500px;">
		<div class="spalistmater">
			<table class="t_mid4"  cellpadding="5px" cellspacing="0">
				<tr>
					<td class="t_mid4_td_tit">生日</td>
					<td class="t_mid4_td_cnt">
						<fmt:formatDate value="${userInfo.birthday}" pattern="yyyy年MM月dd日"/>
					</td>
					<td class="t_mid4_td_tit">主页</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userInfo.homeUrl}"/>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">Email</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userInfo.email}"/>
					</td>
					<td class="t_mid4_td_tit">手机</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userInfo.tel}"/>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">QQ</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userInfo.qq}"/>
					</td>
					<td class="t_mid4_td_tit">MSN</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userInfo.msn}"/>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">身高</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userProfile.height}"/>
						<font style="color:red;">CM</font>
					</td>
					<td class="t_mid4_td_tit">体重</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userProfile.weight}"/>
						<font style="color:red;">KG</font>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">星座</td>
					<td class="t_mid4_td_cnt">
						<ms:fieldValue type="ASTERISM" value="${userProfile.asterism}"></ms:fieldValue>
					</td>
					<td class="t_mid4_td_tit">性格</td>
					<td class="t_mid4_td_cnt">
						<ms:fieldValue type="CHARACTERISE" value="${userProfile.characterise}"></ms:fieldValue>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">血型</td>
					<td class="t_mid4_td_cnt">
						<ms:fieldValue type="BLOODTYPE" value="${userProfile.bloodType}"></ms:fieldValue>
					</td>
					<td class="t_mid4_td_tit">体型</td>
					<td class="t_mid4_td_cnt">
						<ms:fieldValue type="BODYTYPE" value="${userProfile.bodyType}"></ms:fieldValue>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">吸烟情况</td>
					<td class="t_mid4_td_cnt">
						<ms:fieldValue type="SMOKE" value="${userProfile.smoke}"></ms:fieldValue>
					</td>
					<td class="t_mid4_td_tit">喝酒情况</td>
					<td class="t_mid4_td_cnt">
						<ms:fieldValue type="DRINK" value="${userProfile.drink}"></ms:fieldValue>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">是否已婚</td>
					<td class="t_mid4_td_cnt3">
						<ms:fieldValue type="MARRIED" value="${userProfile.married}"></ms:fieldValue>
					</td>
					<td class="t_mid4_td_tit">薪水</td>
					<td class="t_mid4_td_cnt">
						<ms:fieldValue type="SALARY" value="${userProfile.salary}"></ms:fieldValue>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">现在居住地</td>
					<td colspan="3" class="t_mid4_td_cnt3">
						<ms:city type="text" parent="true" code="${userProfile.residence}"></ms:city>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">住址</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userProfile.address}"/>
					</td>
					<td class="t_mid4_td_tit">住址邮编</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userProfile.postal}"/>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">家乡</td>
					<td colspan="3" class="t_mid4_td_cnt3">
						<ms:city type="text" parent="true" code="${userProfile.hometown}"></ms:city>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">学历</td>
					<td  class="t_mid4_td_cnt">
						<ms:fieldValue type="EDUDEGREE" value="${userProfile.eduDegree}"></ms:fieldValue>
					</td>
					<td class="t_mid4_td_tit">专业</td>
					<td  class="t_mid4_td_cnt">
						<ms:fieldValue type="EDUSPECIALTY" value="${userProfile.eduSpecialty}"></ms:fieldValue>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">学校</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userProfile.eduSchool}"/>
					</td>
					<td class="t_mid4_td_tit">入学时间</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userProfile.eduEnrolYear}"/>年
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">公司</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userProfile.jobCompany}"/>
					</td>
					<td class="t_mid4_td_tit">入值时间</td>
					<td class="t_mid4_td_cnt">
						<c:out value="${userProfile.jobEnrolYear}"/>年
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">职位</td>
					<td class="t_mid4_td_cnt">
						<ms:fieldValue type="JOBTITLE" value="${userProfile.jobTitle}"></ms:fieldValue>
					</td>
					<td class="t_mid4_td_tit">从事行业</td>
					<td  class="t_mid4_td_cnt">
						<ms:fieldValue type="JOBPROFESSION" value="${userProfile.jobProfession}"></ms:fieldValue>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">兴趣爱好</td>
					<td colspan="3" class="t_mid4_td_cnt3">
						<ms:fieldValue type="FAVOTHERS" value="${userProfile.favOthers}"></ms:fieldValue>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">喜欢的运动</td>
					<td colspan="3" class="t_mid4_td_cnt3">
						<ms:fieldValue type="FAVSPORTS" value="${userProfile.favSports}"></ms:fieldValue>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">喜欢的电影</td>
					<td colspan="3" class="t_mid4_td_cnt3">
						<c:out value="${userProfile.favMoive}"/>
					</td>
				</tr>
				<tr>
					<td class="t_mid4_td_tit">喜欢的书籍</td>
					<td colspan="3" class="t_mid4_td_cnt3">
						<c:out value="${userProfile.favBook}"/>
					</td>
				</tr>
			</table>
		</div>
	</div>
</div>
